function clear_input(input,type){
	input.value="";
	if(type=="password")
		input.type="password";
	input.style.color="#FFF";
}

function check_input(input,type){
	if(input.value==""){
		input.type="text";
		if(type=="password")
			input.value="and your password";
		else
			input.value="tell me your username";
		input.style.color="#AAA";
	}
}